|
|
|
|
<btleCharacteristic variable>.WriteValue (Function) In french: <Variable btleCaractéristique>.EcritValeur Writes a value to a characteristic on a Bluetooth Low Energy device.
crtc is btleCharacteristic NewCrtcValue is Buffer ... crtc.WriteValue(NewCrtcValue)
Syntax
<Result> = <Characteristic>.WriteValue(<Value>)
<Result>: Boolean - True if the writing was successful,
- False otherwise. ErrorInfo returns more information on the error.
<Characteristic>: btleCharacteristic variable Name of btleCharacteristic variable corresponding to the characteristic used. <Value>: Buffer Value of characteristic to write. Remarks - WINDEV applications:
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Bluetooth 4
[ + ] This example explains how to use the Bluetooth Low Energy functions (Bluetooth LE): BTLExxx. It is an application allowing you to find the nearby BTLE devices, to connect to them and to interact with the proposed services.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|